package com.tjbklx1.pattern.visitor.demo4;

/**
 * 管理层员工
 * 
 * @author tjbklx1
 * @date 2018-10-11
 */
public class Manager extends Employee {
	// 这类人物的职责非常明确：业绩
	private String performance;

	public String getPerformance() {
		return performance;
	}

	public void setPerformance(String performance) {
		this.performance = performance;
	}

	// 部门经理允许访问者访问
	@Override
	public void accept(IVisitor visitor) {
		visitor.visit(this);
	}
}